IF OBJECT_ID ('dbo.RemittanceSerial') IS NOT NULL
	DROP TABLE dbo.RemittanceSerial
GO

CREATE TABLE dbo.RemittanceSerial
	(
	BranchId BIGINT NOT NULL,
	Code     VARCHAR (20) NOT NULL,
	TrDate   DATE NOT NULL,
	Serial   INT NOT NULL,
	CONSTRAINT PK_RemittanceSerial PRIMARY KEY (BranchId, Code, TrDate)
	)
GO

